<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="top.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" href="static/css/bootstrap.min.css" />
	<style type="text/css">
		body{
			padding-top:50px;
		
		}
	</style>
	
</head>
<body class="body">
	<div class="container">
	  <div class="row">
	  
		 <!-- 导入左侧部分 -->
		<jsp:include page="side.jsp">
			<jsp:param value="file" name="tag"/>
		</jsp:include>
		
		<div class="span9">

			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:25px">
				<li class="active">
					<a href="#"><i class="icon-th"></i>文件列表</a>
				</li>
				<c:if test="${fn:length(filetypelist)==0}">
				当前还没有任何文件夹！
				</c:if>
				
				<li class="pull-right"><i class="icon-plus"></i><a href="filetype.jspx?m=new" class="link-black">创建文件夹</a></li>
			</ul>
			
			<div class="wall">
				<table class="table table-striped">
				
					<thead>
						<tr>
							
							<th width="30px"></th>
							<th width="60%">文件名称</th>
							<th width="20%">文件夹大小</th>
							<th >创建人</th>
						</tr>
					</thead>
					<c:forEach items="${filetypelist}" var="filetype">
					<tbody>
						<tr>
								<td>
									<img src="static/img/folder.png"/>
								</td>
								<td><a href="singlefile.jspx?filetypeid=${filetype.id}">${filetype.name}&nbsp;${filetype.createtime}</a></td>
								<td>文件的数目及大小</td>
								<td>${filetype.user.name}</td>
						</tr>
						
					</tbody>
					</c:forEach>
				</table>
			</div>
			
			
		</div>
	  </div>
	</div>
</body>
</html>
